

import 'dart:convert';

class DictDirection {
  String source;
  bool sourceRtl;
  String destination;
  bool destinationRtl;
  String code;

  DictDirection({this.code, this.destination, this.destinationRtl, this.source, this.sourceRtl});

  factory DictDirection.fromJson(Map<String, dynamic> json){
    return DictDirection(
      code: json["code"],
      destination: json["destination"],
      destinationRtl: json["destinationRtl"],
      source: json["source"],
      sourceRtl: json["sourceRtl"]
    );
  }
}